@extends('home.base.index')

@section('content')
    
    <!--内容开始-->
    <div class="evaluate w1200">
    	<dl class="eva-info1">
        @foreach ($list as $v)
        	<dt><a href="#"><img src="{{ asset('images').'/'.$v->big_picture }}" width="220px" height="210px" /></a></dt>
            <dd>
            	<h3><a href="#">{{ $v->name }}</a></h3>
                <ul>
                	<li>
                    	<span>价格</span><p class="p1">¥ {{ $v->lower_price }} 元</p>
                    </li>
                	<li>
                    	<span>配送</span><p>快递:  0.00</p>
                    </li>
                	<li>
                    	<span>所属分类</span><p>{{ $v->keywords }}</p>
                    </li>
                	<li>
                    	<span>订单号</span><p>{{ $v->id }}</p>
                    </li>
                </ul>
            </dd>
            <div style="clear:both;"></div>
        
        </dl>
        
        <div class="eva-info3">
            <form action="/home/eval" method="post">
            <input type='hidden' name='_token' value='{{ csrf_token() }}'>
            <input type='hidden' name='order_id' value='{{ $v->id }}'>
            <input type='hidden' name='product_id' value='{{ $v->product_id }}'>
            	<div class="eva-if3-l f-l">
                	<dl class="if3-l-dl1">
                    	<dt>商品评价</dt>
                        <dd>
                            <textarea name="content"></textarea>
                        </dd>
                		<div style="clear:both;"></div>
                    </dl>
                	<dl class="if3-l-dl2">
                    	<dt>服务评价</dt>
                        <dd>
                            <input type="radio" name="title" value="好评" />好评<br />
                            <input type="radio" name="title" value="中评" />中评<br />
                            <input type="radio" name="title" value="差评" />差评<br />
                        </dd>
                		<div style="clear:both;"></div>
                    </dl>
                    <button class="eva-btn">提交评价</button>
                </div>           	
                <div style="clear:both;"></div>
            </form>
        @endforeach
        </div>
    </div>
    
@stop
